package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.course.entity.TeacherKnowledgePointFile;
import com.aizhixin.lab.project.template.entity.KnowledgePointFile;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface KnowledgePointFileRepository extends JpaRepository<KnowledgePointFile,String> {
    Integer deleteByKnowledgePointId(String knowledgePointId);
    List<KnowledgePointFile> findByKnowledgePointIdAndDeleteFlag(String knowledgePointId, Integer deleteFlag);
    List<KnowledgePointFile> findByKnowledgePointIdInAndDeleteFlag(List<String> knowledgePointIds, Integer deleteFlag);

}
